Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tmp directory if it doesn't exist #229

Merged
merged 1 commit into from
Sep 16, 2014
Merged

Conversation

dvdhsu
Copy link
Contributor

@dvdhsu dvdhsu commented Sep 15, 2014

In #225, gabskoro noted that the tmp folder might not
exist in all Rails projects. So, touching restart.txt won't actually do
anything.

This creates the tmp directory, in case it doesn't exist, with mkdir -p.
Unfortunately, there isn't a flag for touch which forces intermediate
directory creation, so we've got to use a separate command.

In mina-deploy#225, gabskoro noted that the tmp folder might not
exist in all Rails projects. So, touching restart.txt won't actually do
anything.

This creates the tmp directory, in case it doesn't exist, with mkdir -p.
Unfortunately, there isn't a flag for touch which forces intermediate
directory creation, so we've got to use a separate command.
gabskoro added a commit that referenced this pull request Sep 16, 2014
Make tmp directory if it doesn't exist
@gabskoro gabskoro merged commit 924ca92 into mina-deploy:master Sep 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants